//
// Created by mio on 25-5-9.
//

#ifndef LISTINFOWGT_H
#define LISTINFOWGT_H

#include <QWidget>
#include <QListWidget>
#include <QPushButton>

#include "../tool/CustomWgt.h"


class ListWidget;
class ListinfoWgt : public QWidget
{
    Q_OBJECT
public:
    explicit ListinfoWgt(QWidget *parent = nullptr);

signals:
    void sig_Select(int index);

protected slots:
    void HandleItemSelect(int index);

private:
    QPushButton* userBtn_;
    ListWidget* listWgt_;
    std::vector<CustomWgt*> customWgts_;
};

#endif // LISTINFOWGT_H
